/**
 * @file main.cc
 * @author HaoyuWang (136046355@qq.com)
 * @brief 入口函数
 * @version 0.1
 * @date 2025-01-24
 * 
 * @copyright Copyright (c) 2025
 * 
 */


#include <memory>
#include <string>

#include "log.h"
#include "sunnet.h"

void Start(){
    Log::GetInstance().Init();
    Sunnet::GetInstance().Start();

    Sunnet::GetInstance().NewService(std::make_shared<std::string>("main"));

    Sunnet::GetInstance().Wait();
}

int main(int argc, char const *argv[])
{
    Start();
    return 0;
}
